#include <iostream>
#include <memory>
#include "SelectServer.hpp"

int main(int arc,char* args[])
{
    uint16_t port=atoi(args[1]);
    // fd_set fd;
    // std::cout << sizeof(fd) * 8<< std::endl;
    std::unique_ptr<SelectServer> svr(new SelectServer(port));
    svr->InitServer();
    svr->Start();
    
    return 0;
}